package com.mhc.suzuki.dal.mapper.ext;

import com.mhc.suzuki.bo.CreditQueryApplyBO;
import com.mhc.suzuki.dal.mapper.CreditQueryApplyMapper;
import com.mhc.suzuki.vo.CreditExcelVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * MyBatis Ext Mapper for CreditQueryApply.
 */

@Mapper
@Repository
public interface CreditQueryApplyExtMapper extends CreditQueryApplyMapper {

    /**
     * 查询征信列表
     */
    List<CreditQueryApplyBO> selectByCreditList(Map<String, ?> paramMap);

    /**
     * 查询征信列表
     */
    List<CreditExcelVO> selectByOrderNOList(@Param("list") List<String> list);

    /**
     * 查询征信列表总条数
     */
    int countByCreditList(Map<String, ?> paramMap);

    /**
     * 获取征信结果详情
     */
    List<CreditQueryApplyBO> selectByCreditInfo(String orderNo);

    /**
     * 判断征信结果是否录入完成
     */
    int queryByStatus(String orderNo);


}
